package com.wnxy.sddfp.api.bank.fallback;

import com.wnxy.sddfp.api.bank.TradeLogApi;
import com.wnxy.sddfp.common.model.dto.bank.BankCardAddDTO;
import com.wnxy.sddfp.common.model.dto.bank.SignatureDto;
import org.springframework.stereotype.Component;

@Component
public class TradeLogApiFallBack implements TradeLogApi {

    @Override
    public SignatureDto proxyBindCardLog(BankCardAddDTO bankCardAddDTO) {

        SignatureDto signatureDto = new SignatureDto();
        signatureDto.setBankUrl("xxx服务降级url");
        signatureDto.setPlatformNo("xxx服务降级...");
        signatureDto.setReqData("");
        signatureDto.setReqCode("xxx");

        return signatureDto;
    }

}